public class list1 {

    public class ListNode {
        int val;
        ListNode next;
        ListNode() {}
        ListNode(int newValue, ListNode newNext) { this.val = newValue; this.next = newNext;}
        ListNode(int newValue) {this.val = newValue;}

    }


    public static void main(String[] args) {
        System.out.println("Hello List");
        list1 ll = new list1();
        list1.ListNode node1 = ll.new ListNode(1);
        
        System.out.println("The value of node1=" + node1.val);
        



    }

    
    
}
